/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package View;

import Util.Util;

/**
 *
 * @author giovanni
 */
public class TelaCentralPesquisa extends javax.swing.JFrame {

    /**
     * Creates new form Teste
     */
    public TelaCentralPesquisa() {
        Util.setLookAndFeel();
        initComponents();
    }

    /**
     * This method is called from within the constructor to initialize the form.
     * WARNING: Do NOT modify this code. The content of this method is always
     * regenerated by the Form Editor.
     */
    @SuppressWarnings("unchecked")
    // <editor-fold defaultstate="collapsed" desc="Generated Code">//GEN-BEGIN:initComponents
    private void initComponents() {

        jPanelPesquisa = new javax.swing.JPanel();
        lblCentralPesquisa = new javax.swing.JLabel();
        jPanelCentralPesquisa = new javax.swing.JTabbedPane();
        jPanelFuncionarios = new javax.swing.JPanel();
        lblNome = new javax.swing.JLabel();
        txtNome = new javax.swing.JTextField();
        btnPesqFuncionario = new javax.swing.JButton();
        jPanel1 = new javax.swing.JPanel();
        jScrollPane1 = new javax.swing.JScrollPane();
        tblFuncionario = new javax.swing.JTable();
        jSeparator1 = new javax.swing.JSeparator();
        btnEditarFuncionario = new javax.swing.JButton();
        btnExcluirFuncionario = new javax.swing.JButton();
        jPanelFerias = new javax.swing.JPanel();
        pnlFiltroPesquisaFerias = new javax.swing.JPanel();
        lblDe = new javax.swing.JLabel();
        dtcFeriasDe = new com.toedter.calendar.JDateChooser();
        lblAte = new javax.swing.JLabel();
        dtcFeriasAte = new com.toedter.calendar.JDateChooser();
        ddlFeriasFuncionario = new javax.swing.JComboBox();
        lblFeriasFuncionario = new javax.swing.JLabel();
        btnPesqFerias = new javax.swing.JButton();
        jPanel2 = new javax.swing.JPanel();
        jScrollPane2 = new javax.swing.JScrollPane();
        tblFerias = new javax.swing.JTable();
        jPanelVales = new javax.swing.JPanel();
        pnlFiltroPesquisaFerias1 = new javax.swing.JPanel();
        ddlValeFuncionario = new javax.swing.JComboBox();
        lblValeFuncionario = new javax.swing.JLabel();
        btnPesqVale = new javax.swing.JButton();
        lblValorVale = new javax.swing.JLabel();
        txtValorVale = new javax.swing.JTextField();
        jLabel1 = new javax.swing.JLabel();
        jPanel3 = new javax.swing.JPanel();
        jScrollPane3 = new javax.swing.JScrollPane();
        tblVale = new javax.swing.JTable();
        jMenuBar = new javax.swing.JMenuBar();
        jMenu = new javax.swing.JMenu();

        setDefaultCloseOperation(javax.swing.WindowConstants.EXIT_ON_CLOSE);
        setTitle("Central de Pesquisa");

        jPanelPesquisa.setBackground(new java.awt.Color(255, 255, 255));

        lblCentralPesquisa.setFont(new java.awt.Font("Arial", 1, 24)); // NOI18N
        lblCentralPesquisa.setIcon(new javax.swing.ImageIcon(getClass().getResource("/Icones/iconPesquisa.jpg"))); // NOI18N
        lblCentralPesquisa.setText("Central de Pesquisa");

        lblNome.setFont(new java.awt.Font("Arial", 1, 12)); // NOI18N
        lblNome.setText("Nome:");

        btnPesqFuncionario.setIcon(new javax.swing.ImageIcon(getClass().getResource("/Icones/iconSearch.gif"))); // NOI18N
        btnPesqFuncionario.setText("Pesquisar");

        jPanel1.setBorder(javax.swing.BorderFactory.createTitledBorder("Resultado"));

        tblFuncionario.setModel(new javax.swing.table.DefaultTableModel(
            new Object [][] {

            },
            new String [] {
                "Nome", "Telefone", "Celular"
            }
        ) {
            Class[] types = new Class [] {
                java.lang.String.class, java.lang.String.class, java.lang.String.class
            };
            boolean[] canEdit = new boolean [] {
                false, false, false
            };

            public Class getColumnClass(int columnIndex) {
                return types [columnIndex];
            }

            public boolean isCellEditable(int rowIndex, int columnIndex) {
                return canEdit [columnIndex];
            }
        });
        jScrollPane1.setViewportView(tblFuncionario);

        btnEditarFuncionario.setIcon(new javax.swing.ImageIcon(getClass().getResource("/Icones/Modify.png"))); // NOI18N
        btnEditarFuncionario.setText("Editar");

        btnExcluirFuncionario.setIcon(new javax.swing.ImageIcon(getClass().getResource("/Icones/Erase.png"))); // NOI18N
        btnExcluirFuncionario.setText("Excluir");

        javax.swing.GroupLayout jPanel1Layout = new javax.swing.GroupLayout(jPanel1);
        jPanel1.setLayout(jPanel1Layout);
        jPanel1Layout.setHorizontalGroup(
            jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(jPanel1Layout.createSequentialGroup()
                .addContainerGap()
                .addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addComponent(jScrollPane1, javax.swing.GroupLayout.DEFAULT_SIZE, 492, Short.MAX_VALUE)
                    .addComponent(jSeparator1)
                    .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, jPanel1Layout.createSequentialGroup()
                        .addGap(0, 0, Short.MAX_VALUE)
                        .addComponent(btnEditarFuncionario)
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                        .addComponent(btnExcluirFuncionario)))
                .addContainerGap())
        );
        jPanel1Layout.setVerticalGroup(
            jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(jPanel1Layout.createSequentialGroup()
                .addComponent(jScrollPane1, javax.swing.GroupLayout.DEFAULT_SIZE, 345, Short.MAX_VALUE)
                .addGap(18, 18, 18)
                .addComponent(jSeparator1, javax.swing.GroupLayout.PREFERRED_SIZE, 10, javax.swing.GroupLayout.PREFERRED_SIZE)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                .addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(btnEditarFuncionario)
                    .addComponent(btnExcluirFuncionario))
                .addContainerGap())
        );

        javax.swing.GroupLayout jPanelFuncionariosLayout = new javax.swing.GroupLayout(jPanelFuncionarios);
        jPanelFuncionarios.setLayout(jPanelFuncionariosLayout);
        jPanelFuncionariosLayout.setHorizontalGroup(
            jPanelFuncionariosLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(jPanelFuncionariosLayout.createSequentialGroup()
                .addContainerGap()
                .addGroup(jPanelFuncionariosLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addGroup(jPanelFuncionariosLayout.createSequentialGroup()
                        .addGap(6, 6, 6)
                        .addComponent(lblNome)
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                        .addComponent(txtNome)
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                        .addComponent(btnPesqFuncionario))
                    .addComponent(jPanel1, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
                .addContainerGap())
        );
        jPanelFuncionariosLayout.setVerticalGroup(
            jPanelFuncionariosLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(jPanelFuncionariosLayout.createSequentialGroup()
                .addGap(35, 35, 35)
                .addGroup(jPanelFuncionariosLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(lblNome)
                    .addComponent(txtNome, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addComponent(btnPesqFuncionario))
                .addGap(18, 18, 18)
                .addComponent(jPanel1, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                .addContainerGap())
        );

        jPanelCentralPesquisa.addTab("Funcionários", new javax.swing.ImageIcon(getClass().getResource("/Icones/iconUser.png")), jPanelFuncionarios); // NOI18N

        pnlFiltroPesquisaFerias.setBorder(javax.swing.BorderFactory.createTitledBorder("Filtros"));

        lblDe.setFont(new java.awt.Font("Arial", 1, 12)); // NOI18N
        lblDe.setText("De:");

        lblAte.setFont(new java.awt.Font("Arial", 1, 12)); // NOI18N
        lblAte.setText("Até:");

        ddlFeriasFuncionario.setModel(new javax.swing.DefaultComboBoxModel(new String[] { "Item 1", "Item 2", "Item 3", "Item 4" }));

        lblFeriasFuncionario.setFont(new java.awt.Font("Arial", 1, 12)); // NOI18N
        lblFeriasFuncionario.setText("Funcionário:");

        btnPesqFerias.setIcon(new javax.swing.ImageIcon(getClass().getResource("/Icones/iconSearch.gif"))); // NOI18N
        btnPesqFerias.setText("Pesquisar");

        javax.swing.GroupLayout pnlFiltroPesquisaFeriasLayout = new javax.swing.GroupLayout(pnlFiltroPesquisaFerias);
        pnlFiltroPesquisaFerias.setLayout(pnlFiltroPesquisaFeriasLayout);
        pnlFiltroPesquisaFeriasLayout.setHorizontalGroup(
            pnlFiltroPesquisaFeriasLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(pnlFiltroPesquisaFeriasLayout.createSequentialGroup()
                .addContainerGap()
                .addGroup(pnlFiltroPesquisaFeriasLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING)
                    .addComponent(btnPesqFerias)
                    .addGroup(pnlFiltroPesquisaFeriasLayout.createSequentialGroup()
                        .addGroup(pnlFiltroPesquisaFeriasLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING)
                            .addComponent(lblFeriasFuncionario)
                            .addComponent(lblDe))
                        .addGap(18, 18, 18)
                        .addGroup(pnlFiltroPesquisaFeriasLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING, false)
                            .addGroup(pnlFiltroPesquisaFeriasLayout.createSequentialGroup()
                                .addComponent(dtcFeriasDe, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                                .addGap(40, 40, 40)
                                .addComponent(lblAte)
                                .addGap(18, 18, 18)
                                .addComponent(dtcFeriasAte, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                            .addComponent(ddlFeriasFuncionario, 0, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))))
                .addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
        );
        pnlFiltroPesquisaFeriasLayout.setVerticalGroup(
            pnlFiltroPesquisaFeriasLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(pnlFiltroPesquisaFeriasLayout.createSequentialGroup()
                .addContainerGap()
                .addGroup(pnlFiltroPesquisaFeriasLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addComponent(dtcFeriasAte, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addComponent(lblAte)
                    .addComponent(dtcFeriasDe, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addComponent(lblDe))
                .addGap(18, 18, 18)
                .addGroup(pnlFiltroPesquisaFeriasLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(lblFeriasFuncionario)
                    .addComponent(ddlFeriasFuncionario, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                .addGap(18, 18, 18)
                .addComponent(btnPesqFerias)
                .addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
        );

        jPanel2.setBorder(javax.swing.BorderFactory.createTitledBorder("Resultado"));

        tblFerias.setModel(new javax.swing.table.DefaultTableModel(
            new Object [][] {

            },
            new String [] {
                "Funcionário", "Saída", "Retorno", "Observação"
            }
        ) {
            Class[] types = new Class [] {
                java.lang.String.class, java.lang.String.class, java.lang.String.class, java.lang.String.class
            };
            boolean[] canEdit = new boolean [] {
                false, false, false, false
            };

            public Class getColumnClass(int columnIndex) {
                return types [columnIndex];
            }

            public boolean isCellEditable(int rowIndex, int columnIndex) {
                return canEdit [columnIndex];
            }
        });
        jScrollPane2.setViewportView(tblFerias);

        javax.swing.GroupLayout jPanel2Layout = new javax.swing.GroupLayout(jPanel2);
        jPanel2.setLayout(jPanel2Layout);
        jPanel2Layout.setHorizontalGroup(
            jPanel2Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(jPanel2Layout.createSequentialGroup()
                .addContainerGap()
                .addComponent(jScrollPane2, javax.swing.GroupLayout.DEFAULT_SIZE, 492, Short.MAX_VALUE)
                .addContainerGap())
        );
        jPanel2Layout.setVerticalGroup(
            jPanel2Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(jPanel2Layout.createSequentialGroup()
                .addComponent(jScrollPane2, javax.swing.GroupLayout.PREFERRED_SIZE, 258, javax.swing.GroupLayout.PREFERRED_SIZE)
                .addGap(16, 16, 16))
        );

        javax.swing.GroupLayout jPanelFeriasLayout = new javax.swing.GroupLayout(jPanelFerias);
        jPanelFerias.setLayout(jPanelFeriasLayout);
        jPanelFeriasLayout.setHorizontalGroup(
            jPanelFeriasLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(jPanelFeriasLayout.createSequentialGroup()
                .addContainerGap()
                .addGroup(jPanelFeriasLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addComponent(pnlFiltroPesquisaFerias, javax.swing.GroupLayout.Alignment.TRAILING, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                    .addComponent(jPanel2, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
                .addContainerGap())
        );
        jPanelFeriasLayout.setVerticalGroup(
            jPanelFeriasLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(jPanelFeriasLayout.createSequentialGroup()
                .addGap(51, 51, 51)
                .addComponent(pnlFiltroPesquisaFerias, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                .addComponent(jPanel2, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                .addContainerGap(18, Short.MAX_VALUE))
        );

        jPanelCentralPesquisa.addTab("Férias", new javax.swing.ImageIcon(getClass().getResource("/Icones/iconCalendario.png")), jPanelFerias); // NOI18N

        pnlFiltroPesquisaFerias1.setBorder(javax.swing.BorderFactory.createTitledBorder("Filtros"));

        ddlValeFuncionario.setModel(new javax.swing.DefaultComboBoxModel(new String[] { "Item 1", "Item 2", "Item 3", "Item 4" }));

        lblValeFuncionario.setFont(new java.awt.Font("Arial", 1, 12)); // NOI18N
        lblValeFuncionario.setText("Funcionário:");

        btnPesqVale.setIcon(new javax.swing.ImageIcon(getClass().getResource("/Icones/iconSearch.gif"))); // NOI18N
        btnPesqVale.setText("Pesquisar");

        lblValorVale.setFont(new java.awt.Font("Arial", 1, 12)); // NOI18N
        lblValorVale.setText("Valor:");

        jLabel1.setFont(new java.awt.Font("Arial", 1, 12)); // NOI18N
        jLabel1.setText("R$");

        javax.swing.GroupLayout pnlFiltroPesquisaFerias1Layout = new javax.swing.GroupLayout(pnlFiltroPesquisaFerias1);
        pnlFiltroPesquisaFerias1.setLayout(pnlFiltroPesquisaFerias1Layout);
        pnlFiltroPesquisaFerias1Layout.setHorizontalGroup(
            pnlFiltroPesquisaFerias1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(pnlFiltroPesquisaFerias1Layout.createSequentialGroup()
                .addContainerGap()
                .addGroup(pnlFiltroPesquisaFerias1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addGroup(pnlFiltroPesquisaFerias1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING)
                        .addComponent(btnPesqVale)
                        .addGroup(pnlFiltroPesquisaFerias1Layout.createSequentialGroup()
                            .addComponent(lblValeFuncionario)
                            .addGap(18, 18, 18)
                            .addComponent(ddlValeFuncionario, javax.swing.GroupLayout.PREFERRED_SIZE, 324, javax.swing.GroupLayout.PREFERRED_SIZE)))
                    .addGroup(pnlFiltroPesquisaFerias1Layout.createSequentialGroup()
                        .addComponent(lblValorVale)
                        .addGap(53, 53, 53)
                        .addComponent(jLabel1)
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                        .addComponent(txtValorVale, javax.swing.GroupLayout.PREFERRED_SIZE, 111, javax.swing.GroupLayout.PREFERRED_SIZE)))
                .addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
        );
        pnlFiltroPesquisaFerias1Layout.setVerticalGroup(
            pnlFiltroPesquisaFerias1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(pnlFiltroPesquisaFerias1Layout.createSequentialGroup()
                .addContainerGap()
                .addGroup(pnlFiltroPesquisaFerias1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(lblValorVale)
                    .addComponent(txtValorVale, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addComponent(jLabel1))
                .addGap(23, 23, 23)
                .addGroup(pnlFiltroPesquisaFerias1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(lblValeFuncionario)
                    .addComponent(ddlValeFuncionario, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                .addGap(18, 18, 18)
                .addComponent(btnPesqVale)
                .addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
        );

        jPanel3.setBorder(javax.swing.BorderFactory.createTitledBorder("Resultado"));

        tblVale.setModel(new javax.swing.table.DefaultTableModel(
            new Object [][] {

            },
            new String [] {
                "Funcionário", "Valor", "Data", "Situação", "Observação"
            }
        ) {
            Class[] types = new Class [] {
                java.lang.String.class, java.lang.String.class, java.lang.String.class, java.lang.String.class, java.lang.String.class
            };
            boolean[] canEdit = new boolean [] {
                false, false, false, false, false
            };

            public Class getColumnClass(int columnIndex) {
                return types [columnIndex];
            }

            public boolean isCellEditable(int rowIndex, int columnIndex) {
                return canEdit [columnIndex];
            }
        });
        jScrollPane3.setViewportView(tblVale);

        javax.swing.GroupLayout jPanel3Layout = new javax.swing.GroupLayout(jPanel3);
        jPanel3.setLayout(jPanel3Layout);
        jPanel3Layout.setHorizontalGroup(
            jPanel3Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(jPanel3Layout.createSequentialGroup()
                .addContainerGap()
                .addComponent(jScrollPane3, javax.swing.GroupLayout.DEFAULT_SIZE, 492, Short.MAX_VALUE)
                .addContainerGap())
        );
        jPanel3Layout.setVerticalGroup(
            jPanel3Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(jPanel3Layout.createSequentialGroup()
                .addComponent(jScrollPane3, javax.swing.GroupLayout.PREFERRED_SIZE, 258, javax.swing.GroupLayout.PREFERRED_SIZE)
                .addGap(16, 16, 16))
        );

        javax.swing.GroupLayout jPanelValesLayout = new javax.swing.GroupLayout(jPanelVales);
        jPanelVales.setLayout(jPanelValesLayout);
        jPanelValesLayout.setHorizontalGroup(
            jPanelValesLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(jPanelValesLayout.createSequentialGroup()
                .addContainerGap()
                .addGroup(jPanelValesLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addComponent(pnlFiltroPesquisaFerias1, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                    .addComponent(jPanel3, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
                .addContainerGap())
        );
        jPanelValesLayout.setVerticalGroup(
            jPanelValesLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, jPanelValesLayout.createSequentialGroup()
                .addGap(52, 52, 52)
                .addComponent(pnlFiltroPesquisaFerias1, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                .addComponent(jPanel3, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                .addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
        );

        jPanelCentralPesquisa.addTab("Vales", new javax.swing.ImageIcon(getClass().getResource("/Icones/iconBookAdd.png")), jPanelVales); // NOI18N

        javax.swing.GroupLayout jPanelPesquisaLayout = new javax.swing.GroupLayout(jPanelPesquisa);
        jPanelPesquisa.setLayout(jPanelPesquisaLayout);
        jPanelPesquisaLayout.setHorizontalGroup(
            jPanelPesquisaLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(jPanelPesquisaLayout.createSequentialGroup()
                .addGap(103, 103, 103)
                .addComponent(lblCentralPesquisa)
                .addContainerGap())
            .addComponent(jPanelCentralPesquisa)
        );
        jPanelPesquisaLayout.setVerticalGroup(
            jPanelPesquisaLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(jPanelPesquisaLayout.createSequentialGroup()
                .addGap(22, 22, 22)
                .addComponent(lblCentralPesquisa)
                .addGap(18, 18, 18)
                .addComponent(jPanelCentralPesquisa))
        );

        jMenu.setText("Sobre");
        jMenuBar.add(jMenu);

        setJMenuBar(jMenuBar);

        javax.swing.GroupLayout layout = new javax.swing.GroupLayout(getContentPane());
        getContentPane().setLayout(layout);
        layout.setHorizontalGroup(
            layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addComponent(jPanelPesquisa, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
        );
        layout.setVerticalGroup(
            layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addComponent(jPanelPesquisa, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
        );

        pack();
    }// </editor-fold>//GEN-END:initComponents

    /**
     * @param args the command line arguments
     */
    public static void main(String args[]) {
        /*
         * Set the Nimbus look and feel
         */
        //<editor-fold defaultstate="collapsed" desc=" Look and feel setting code (optional) ">
        /*
         * If Nimbus (introduced in Java SE 6) is not available, stay with the
         * default look and feel. For details see
         * http://download.oracle.com/javase/tutorial/uiswing/lookandfeel/plaf.html
         */
        try {
            for (javax.swing.UIManager.LookAndFeelInfo info : javax.swing.UIManager.getInstalledLookAndFeels()) {
                if ("Nimbus".equals(info.getName())) {
                    javax.swing.UIManager.setLookAndFeel(info.getClassName());
                    break;
                }
            }
        } catch (ClassNotFoundException ex) {
            java.util.logging.Logger.getLogger(TelaCentralPesquisa.class.getName()).log(java.util.logging.Level.SEVERE, null, ex);
        } catch (InstantiationException ex) {
            java.util.logging.Logger.getLogger(TelaCentralPesquisa.class.getName()).log(java.util.logging.Level.SEVERE, null, ex);
        } catch (IllegalAccessException ex) {
            java.util.logging.Logger.getLogger(TelaCentralPesquisa.class.getName()).log(java.util.logging.Level.SEVERE, null, ex);
        } catch (javax.swing.UnsupportedLookAndFeelException ex) {
            java.util.logging.Logger.getLogger(TelaCentralPesquisa.class.getName()).log(java.util.logging.Level.SEVERE, null, ex);
        }
        //</editor-fold>

        /*
         * Create and display the form
         */
        java.awt.EventQueue.invokeLater(new Runnable() {

            public void run() {
                new TelaCentralPesquisa().setVisible(true);
            }
        });
    }
    // Variables declaration - do not modify//GEN-BEGIN:variables
    private javax.swing.JButton btnEditarFuncionario;
    private javax.swing.JButton btnExcluirFuncionario;
    private javax.swing.JButton btnPesqFerias;
    private javax.swing.JButton btnPesqFuncionario;
    private javax.swing.JButton btnPesqVale;
    private javax.swing.JComboBox ddlFeriasFuncionario;
    private javax.swing.JComboBox ddlValeFuncionario;
    private com.toedter.calendar.JDateChooser dtcFeriasAte;
    private com.toedter.calendar.JDateChooser dtcFeriasDe;
    private javax.swing.JLabel jLabel1;
    private javax.swing.JMenu jMenu;
    private javax.swing.JMenuBar jMenuBar;
    private javax.swing.JPanel jPanel1;
    private javax.swing.JPanel jPanel2;
    private javax.swing.JPanel jPanel3;
    private javax.swing.JTabbedPane jPanelCentralPesquisa;
    private javax.swing.JPanel jPanelFerias;
    private javax.swing.JPanel jPanelFuncionarios;
    private javax.swing.JPanel jPanelPesquisa;
    private javax.swing.JPanel jPanelVales;
    private javax.swing.JScrollPane jScrollPane1;
    private javax.swing.JScrollPane jScrollPane2;
    private javax.swing.JScrollPane jScrollPane3;
    private javax.swing.JSeparator jSeparator1;
    private javax.swing.JLabel lblAte;
    private javax.swing.JLabel lblCentralPesquisa;
    private javax.swing.JLabel lblDe;
    private javax.swing.JLabel lblFeriasFuncionario;
    private javax.swing.JLabel lblNome;
    private javax.swing.JLabel lblValeFuncionario;
    private javax.swing.JLabel lblValorVale;
    private javax.swing.JPanel pnlFiltroPesquisaFerias;
    private javax.swing.JPanel pnlFiltroPesquisaFerias1;
    private javax.swing.JTable tblFerias;
    private javax.swing.JTable tblFuncionario;
    private javax.swing.JTable tblVale;
    private javax.swing.JTextField txtNome;
    private javax.swing.JTextField txtValorVale;
    // End of variables declaration//GEN-END:variables
}
